Can sleep apnea cause morning headaches?

Headaches, specifically those occurring in the morning upon waking, can be associated with sleep apnea and other sleep disorders.